package com.sofwin.service;

import com.github.pagehelper.PageInfo;
import com.sofwin.pojo.SysRole;

/**
 * @packageName: com.sofwin.service
 * @author: andyliu
 * @date: 2022/8/11 11:27
 * @email 115176513@qq.com
 * @description: TODO
 */

public interface RoleService {

    boolean saveRole(SysRole role, Integer[] menuIds);

    boolean removeRoleById(Integer id);

    boolean removeRoleByIds(Integer[] ids);

    SysRole queryById(Integer id);

    PageInfo<SysRole> queryByPage(SysRole role,Integer pageNumber,Integer pageSize);
}
